﻿using System;

namespace Alex.Library.Tasks
{
    /// <summary>
    /// 任务状态枚举
    /// </summary>
    public enum TaskState
    {
        /// <summary>
        /// 无状态
        /// </summary>
        None,
        /// <summary>
        /// 正在执行
        /// </summary>
        Doing,
        /// <summary>
        /// 任务取消
        /// </summary>
        Canceled,
        /// <summary>
        /// 已完成（包含错误）
        /// </summary>
        Completed
    }
}
